package com.kun.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kun.entity.Blog;
import com.kun.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author SunKun
 * @since 2021-06-14
 */
@Repository
public interface CommentMapper extends BaseMapper<Comment> {
    /**
     * 评论分页
     * @param page
     * @return
     */
    IPage<Comment> commentPage(@Param("page") IPage<Comment> page);
}
